package zsh.service.ServiceImpl;

import org.springframework.stereotype.Service;
import zsh.domain.Student;
import zsh.service.IStudentService;
@Service
public class StudentService implements IStudentService {
    @Override
    public int addStudent(Student student) {
        System.out.println("添加学生");
        return 0;
    }

    @Override
    public int deleteStudent(int id) {
        System.out.println("删除学生");
        return 0;
    }

    @Override
    public int updateStudent(Student student) {
        System.out.println("修改学生");
        return 0;
    }

    @Override
    public Student getStudent(int id) {
        System.out.println("查询学生");
        return null;
    }
}
